﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Starfire3d.Data.States.UnitStates
{
    public class DeadUnit : BaseState<Unit>
    {
        public override void Enter(Unit entity)
        {
            System.Console.SetCursorPosition(entity.Data.GetInt("X"), entity.Data.GetInt("Y"));
            System.Console.Write("."); 
        }

        public override void Execute(Unit entity)
        {
        }

        public override void Exit(Unit entity)
        {
        }

        public override string ToString()
        {
            return "Destroyed";
        }
        public override string ToString(Unit entity)
        {
            return "Destroyed";
        }
    }
}
